package com.lww.feature.test.design.pattern.command;

/**
 * @author: liweiwei
 * @date: 2019/1/23
 */
public class Client {

    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        ConcreteCommand concreteCommand = new ConcreteCommand(receiver);
        Invoker invoker = new Invoker(concreteCommand);
        invoker.action();
    }
}
